<template>
    <div>
        <!--生成订单页面-->
    以为您生成订单{{order_id}},金额为{{money}}
    <br>
    <button @click="pay">去支付</button>

    </div>
</template>

<script>
    export default {
        data() {
            return {
                money:this.$route.query.money,
                order_id:this.$route.query.order_id
            }
        },
        methods: {
            pay(){
                this.$axios.get('users/pay/?id='+this.order_id).then(res=>{
                
            })
            }
        },
    }
</script>

<style scoped>

</style>